package com.ruoyi.project.service.impl;


import com.ruoyi.common.datascope.annotation.DataScope;
import com.ruoyi.project.mapper.ISysUserMapper;
import com.ruoyi.project.domain.ISysUser;
import com.ruoyi.project.service.ISysUserService;
import com.ruoyi.system.api.domain.SysUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 用户 业务层处理
 * 
 * @author ruoyi
 */
@Service
public class SysUserServiceImpl implements ISysUserService
{
    private static final Logger log = LoggerFactory.getLogger(SysUserServiceImpl.class);

    @Autowired
    private ISysUserMapper userMapper;



    /**
     * 根据条件分页查询用户列表
     * 
     * @param user 用户信息
     * @return 用户信息集合信息
     */
    @Override
    public List<ISysUser> selectMsgUserList(ISysUser user)
    {
        return userMapper.selectMsgUserList(user);
    }
    /**
     * 根据条件分页查询用户列表
     *
     * @param user 用户信息
     * @return 用户信息集合信息
     */
    @Override

    public List<ISysUser> selectUserList(ISysUser user)
    {
        return userMapper.selectUserList(user);
    }

}

